import 'package:flutter/material.dart';
///
/// padding_demo.dart
///

void main() => runApp(const MaterialApp(home: DemoPaddingWidget()));

class DemoPaddingWidget extends StatelessWidget {
  const DemoPaddingWidget({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    final result = Scaffold(
      appBar: AppBar(title: const Text('ch14 padding demo')),
      body: const Padding(
        padding: EdgeInsets.all(44.0),
        child: Text(
          'Container（容器）在UI框架中是一个很常见的概念，Flutter也不例外。',
          style: TextStyle(fontSize: 19.0),
        ),
      ),
    );
    return result;
  }
}

